
import { createReducer } from 'redux-immutablejs'
import { fromJS } from 'immutable'
import {
  GET_ADDRESS_LIST
} from '../constants/address'



export const addressList = createReducer(fromJS([]), {
  [GET_ADDRESS_LIST]: (state, action) => {
    return fromJS(action.data)
  }
})